; Delay for 4 seconds - Delay requires an 'open modem' at the moment
Delay 6
ModemClear
; Check if remote dropped carrier
CheckCarrier
FalseJump waitring
; Check if remote called at a bps rate other than we accept
;Cmp $(baud) 2400
;FalseJump unwelcome
Set banner "\r\n\r\n\r\n $(host.sitename) $(host.address) and $(WelMatName)<->$(WPLNAME)\r\n running under $(ROOFNAME)\r\n welcomes your $(lastResponse) at $<time> on $<date>\r\n"
SubJump dobanner
mconnect:
Set session INBOUND
Set state "SESSION INBOUND unknown"
; ALLOWFREQS is a ENV: variable that we can set via CRON events
CmpI ${ALLOWFREQS} TRUE
FalseJump do_menu
Set host.freq TRUE
; re-entry point for login commands which allow multiple selection at login
; variable $(menu) toggles this feature
do_menu:
Clear namebuf event
Set banner "\n\r Type 'info' for more information or enter command\r\n"
; ACCESS is set FALSE by a cron event when we wish
; to disallow BBS spawning. Here we select a banner to display.
CmpI ${ACCESS} TRUE
TrueJump welcome
Set banner "\n\r $(host.sitename) $(host.address)\r\n Mailers only at this time\r\n Type 'info' for more information\r\n"